package cn.dubito.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author liliang
 * @description:
 * @date 2018/5/20.
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"cn.dubito.springcloud"})
@ComponentScan("cn.dubito.springcloud")
public class DeptConsumerFeignMain {

    public static void main(String[] args) {
        SpringApplication.run(DeptConsumerFeignMain.class, args);
    }
}
